with users_2 as( select ID , Views , UpVotes , DownVotes ...


Please login or register to vote for this query.

(click on this box to dismiss)

Japanese Language

Q&A for students, teachers, and linguists wanting to discuss the finer points of the Japanese language

with users_2 as(
select ID
, Views
, UpVotes
, DownVotes
from users)

, comments_2 as(
select ID
  , Postid
  , userid
from comments
where len(text)>150) 

, posts_2 as(
select ID
  , ViewCount
  , CommentCount
  , FavoriteCount
from posts)

select comments_2.ID as commentID
	, comments_2.userid as UserId
	, comments_2.PostID as PostID
	, posts_2.ViewCount as post_ViewCount
	, posts_2.CommentCount as post_CommentCount
	, posts_2.FavoriteCount as post_FavoriteCount
	, users_2.Views as users_Views
	, users_2.UpVotes as users_UpVotes
	, users_2.DownVotes as users_DownVotes
from comments_2
left join users_2
  on comments_2.UserId=users_2.ID 
left join posts_2
  on posts_2.ID=comments_2.Postid

Enter Parameters

Switch to meta site
loading Hold tight while we fetch your results