Advertisement
Guest User

Untitled

a guest
Mar 5th, 2015
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 0.33 KB | None | 0 0
  1. select field1, field2, field3
  2. from price_code
  3. WHERE ROW(field1, field2) = (
  4.     SELECT field1, field2 FROM table
  5.     WHERE condition
  6.     LIMIT 1
  7. )
  8. OR ROW(field1, field2) = (
  9.     SELECT field1, field2 FROM table
  10.     WHERE condition
  11.     LIMIT 1
  12. )
  13. OR ROW(field1, field2) = (
  14.     SELECT field1, field2 FROM table
  15.     WHERE condition
  16.     LIMIT 1
  17. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement