phpMyAdmin
 sql >> Database >  >> Database Tools >> phpMyAdmin

SQL MIN Funzione con clausola where

SELECT p.name 
FROM Project p, Shipment s
WHERE s.JNo = p.JNo
  AND s.Qty in (SELECT MIN(qty) FROM shipment)