Mysql filters the same values in a column of data under restricted conditions? -PHP Chinese website Q&A-Mysql filters the same values in a column of data under restricted conditions? -PHP Chinese website Q&A
SELECT a.*, b.name AS name1, c.name AS name2
FROM eat AS a
LEFT JOIN fish AS b ON a.species1=b.species
LEFT JOIN fish AS c ON a.species2=c.species
WHERE b.tankid=c.tankid
Mysql filters the same values in a column of data under restricted conditions? -PHP Chinese website Q&A-Mysql filters the same values in a column of data under restricted conditions? -PHP Chinese website Q&A
Let’s take a look and learn.