Posts by Rodrigo Henrique • 29 points
1 post
-
2
votes3
answers1885
viewsA: Select different values in two tables - SQL and PHP
SELECT pedido FROM table1 WHERE pedido NOT IN (SELECT n_pedido FROM table2)
1 post
2
votes3
answers1885
viewsSELECT pedido FROM table1 WHERE pedido NOT IN (SELECT n_pedido FROM table2)