Advertisement
Guest User

Untitled

a guest
Feb 20th, 2014
110
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. SELECT  (
  2.     SELECT COUNT(*)
  3.     FROM   user_table
  4.     ) AS tot_user,
  5.     (
  6.     SELECT COUNT(*)
  7.     FROM   cat_table
  8.     ) AS tot_cat,
  9.     (
  10.     SELECT COUNT(*)
  11.     FROM   course_table
  12.     ) AS tot_course
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement