php - How we get unmatched values from tables in mysql databases -
I have a problem getting data from mysql database tables. I have two tables like Table-1 and Table-2 In the figures below. How to get Table-2 data in Table 1, if not equal to pyelotid1
I'm not sure if I understand correctly, but it gives all the rows of table-1, in which there is no matching entry in Table 2 You can find related documents for not related
.
with SELECT * table -1 t1 where it is not present (Select from Table-2 T2 WHERE t1 .Venueid` = t2.`Venueid`)
< / Div>
Comments
Post a Comment