Skip to content

Instantly share code, notes, and snippets.

@efiku
Last active November 3, 2015 22:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save efiku/67d39182d96dbc009bb7 to your computer and use it in GitHub Desktop.
Save efiku/67d39182d96dbc009bb7 to your computer and use it in GitHub Desktop.
Zapytanie do bazy o dovnwoty
SELECT `qa_users`.`handle` FROM `qa_uservotes`
INNER JOIN `qa_users`
ON `qa_users`.`userid` = `qa_uservotes`.`userid`
WHERE `qa_uservotes`.`postid` = ?? AND `qa_uservotes`.`vote` = -1
@efiku
Copy link
Author

efiku commented Nov 3, 2015

Gdzie ?? to id Posta

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment