|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
simple sql query
This doesn't work and i don't know why. By the way the table name is correct ect.
SELECT * AS ent from countries |
|
#2
|
|||
|
|||
|
RE: mysql?
SELECT * AS ent from countries
AS ent isn't proper in this situation. Using AS means you are trying to create an alias for an object (a table, column, etc). * AS ent is basically saying "Call everything ent". You can't call everything ent. So, just do: SELECT * from countries |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Database Help > simple sql query |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|