SHARE
TWEET

Untitled

a guest Jun 12th, 2019 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. PreparedStatement stmt =
  2.                 connection.prepareStatement("SELECT ug.user_id,user_name,first_name,last_name" +
  3.                         " AS 'game_played' FROM users" +
  4.                         " INNER JOIN users_games AS ug" +
  5.                         " ON users.id = ug.user_id" +
  6.                         " WHERE user_name = userInputed" +
  7.                         " GROUP BY ug.user_id");
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top