i want to output the empty fields in one table to show up as NULL in my
query. I tried using left join but couldn't get it to work. Here's my
first try:
SELECT * FROM info left join info on id=1
query failed:1066: Not unique table/alias: 'info'
Since left join usually uses two tables, I also tried using an alias,
but I got the same error message.
SELECT * FROM info as alias left join alias on id=1
query failed:1066: Not unique table/alias: 'alias'
What as missing ?
query. I tried using left join but couldn't get it to work. Here's my
first try:
SELECT * FROM info left join info on id=1
query failed:1066: Not unique table/alias: 'info'
Since left join usually uses two tables, I also tried using an alias,
but I got the same error message.
SELECT * FROM info as alias left join alias on id=1
query failed:1066: Not unique table/alias: 'alias'
What as missing ?
Comment