Forum: MySQL Jun 23rd, 2009 |
| Replies: 9 Views: 739 ok so your statement should be like this.
regards. |
Forum: MySQL Jun 22nd, 2009 |
| Replies: 9 Views: 739 Ok, I think I am a little lost lets put some data into that table
COUNTRIES
USA - UNITED STATES
DR - DOMINICAN REPUBLIC
MX - MEXICO
PR - PUERTO RICO
ALLOW
DR
MX |
Forum: MySQL Jun 22nd, 2009 |
| Replies: 9 Views: 739 |
Forum: MySQL Jun 22nd, 2009 |
| Replies: 9 Views: 739 try this.
SELECT DISTINCT countries.Country_Code, Country_Name FROM countries, allow WHERE countries.Country_Code != allow.Country_Code ORDER BY Country_Name
Regards. |
Forum: MySQL Jun 19th, 2009 |
| Replies: 2 Views: 712 Try that
SELECT Profiles.answer, users.gender, COUNT(Profiles.answer) AS count
FROM Profiles INNER JOIN
users ON users.userid = Profiles.userid
GROUP BY... |