sql >> Database teknologi >  >> RDS >> Mysql

MYSQL Vælg i samme tabel

SELECT a.id as problem_id
FROM TABLE_A as a JOIN TABLE_A as b
ON a.type = b.type
WHERE a.value1 <> b.value1 OR a.value2 <> b.value2
GROUP BY problem_id;


  1. Dobbelt anmodning mysql/php til ajax

  2. FATAL:rollerod findes ikke

  3. Hvordan fungerer MySQL's ORDER BY RAND()?

  4. JMeter JDBC Pool konfiguration