Advertisement
Guest User

Untitled

a guest
May 12th, 2013
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. relationships table;
  2. 30-row-example
  3. news_id, relation_id
  4. 1, 1;
  5. 2, 1;
  6. 3, 1;
  7. ...
  8. 29, 1;
  9. 30, 1;
  10.  
  11.  
  12. 3k example;
  13. 1, 2;
  14. 2, 2;
  15. ...
  16. 2998, 2;
  17. 2999, 2;
  18. 3000, 2;
  19.  
  20. I'm using "relation_id IN (1)" for 30 row test, using 2 for 3k test.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement