Skip to content

Instantly share code, notes, and snippets.

@misiek08
Created September 17, 2013 12:03
SELECT * FROM bought_items bi JOIN items i ON (i.id = bi.item_id) WHERE i.title LIKE %% OR username LIKE %%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment