![]() | |
#11
| |||
| |||
|
|
SELECT CNT.country_id FROM Countries AS CNT INNER JOIN Cities AS CIT ON CNT.country_id = CIT.country_id WHERE CNT.password IS NULL GROUP BY CNT.country_id HAVING COUNT(*) <= 10 |
#12
| |||
| |||
|
|
In article <W_wab.235$9e2.21597243 (AT) mantis (DOT) golden.net>, bbadour (AT) golden (DOT) net says... SELECT CNT.country_id FROM Countries AS CNT INNER JOIN Cities AS CIT ON CNT.country_id = CIT.country_id WHERE CNT.password IS NULL GROUP BY CNT.country_id HAVING COUNT(*) <= 10 John, Do you complete your kids' homework for them too? Oh, ok, so you just assume this was a homework assignment? Why? Cause no, it is not a homework assignment, but part of a project for my own company. Sure, I may not be an expert in SQL, but that shouldn't automatically translate to it being a homework assignment, should it? |
![]() |
| Thread Tools | |
| Display Modes | |
| |