hello sql

0

Please login or register to vote for this query.

(click on this box to dismiss)

Ask Ubuntu Meta

Q&A about the site for Ubuntu users and developers

/*
with bestView as (
  select top 1 ViewCount
  from Posts
  order by ViewCount desc
)
*/


select top 1 ViewCount
from Posts
order by ViewCount desc;


select top 2 * 
from Users;

/*
select * 
from Posts
where ViewCount = (select ViewCount from bestView)
*/

Enter Parameters

Options:
Switch to main site
loading Hold tight while we fetch your results