Home : General : Databases and SQL :

General: Databases and SQL: Re: [barryb12000] move data from 1 table to another with PHP: Edit Log

Here is the list of edits for this post
Re: [barryb12000] move data from 1 table to another with PHP
You can re-write the query to not use sub-queries like the following:

Quote:

SELECT P.Player_First_Name, P.Player_Last_Name, P.PlayerID
FROM tbl_Players P tbl_Players P2
WHERE (P.PlayerID <> P2.PlayerID)


Just use "table aliases" and the <> or IS NOT operators in the WHERE clause(s).

Good luck!
========================================
Buh Bye!

Cheers,
Me

Last edited by:

Stealth: Jul 18, 2002, 2:05 PM

Edit Log: