I get many null record that I don't need.
SELECT o.name, o.thumb, c.name, c.enI get total 201 records by the sql above:
FROM db_options AS o
LEFT JOIN db_colors AS c
ON o.thumb = c.name
SELECT o.name, o.thumb ,c.name, c.code, c.zh
FROM db_options AS o
LEFT JOIN db_colors AS c
ON o.thumb = c.name
WHERE c.name IS NOT NULL
Ended
No comments :
Post a Comment