Advertisement
rhuntington

ChopShop Owners

Jul 8th, 2018
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 0.83 KB | None | 0 0
  1. MariaDB [soegame]> select storename, storetype, ownercharid, concat(c.firstgiven, " ", c.lastgiven) as name, u.forumaccount from stores s join characters c on c.charid = s.ownercharid join users u using(userid) where storetype = "chopshop";
  2. +------------------------+-----------+-------------+-------------+--------------+
  3. | storename              | storetype | ownercharid | name        | forumaccount |
  4. +------------------------+-----------+-------------+-------------+--------------+
  5. | Low Power Construction | ChopShop  |       20269 | Ina Hansen  | Bella        |
  6. | Hayes Auto             | ChopShop  |       31765 | Brian Smith | Majic        |
  7. | Back Alley             | ChopShop  |         251 | Bob Mcgrath | Talbot       |
  8. +------------------------+-----------+-------------+-------------+--------------+
  9. 3 rows in set (0.22 sec)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement