title

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

SELECT 
Id,ParentId,Body,Tags,ViewCount,CreationDate
FROM
    Posts
WHERE 
PostTypeId = 1 and (
Tags =('java') or
Tags LIKE('%<java>%') or
Tags LIKE('%jpa%') or
Tags LIKE('%swing%') or
Tags LIKE('%servlets%') or
Tags LIKE('%tomcat%') or
Tags LIKE('%junit%') or
Tags LIKE('%spring%') or
Tags LIKE('%hibernate%') or
Tags LIKE('%jar%') or
Tags LIKE('%jdbc%') or
Tags LIKE('%javafx%') or
Tags LIKE('%jframe%') or
Tags LIKE('%android-studio%') or
Tags LIKE('%java-ee%') or
Tags LIKE('%java-8%') 
)
AND CreationDate

BETWEEN'08-01-2014' and '08-31-2014'


UNION ALL
SELECT
Id,ParentId,Body,Tags,ViewCount,CreationDate

FROM Posts

WHERE ParentId IN
(
SELECT 
    Id
FROM
    Posts
WHERE 
PostTypeId = 1 and (
Tags =('java') or
Tags LIKE('%<java>%') or
Tags LIKE('%jpa%') or
Tags LIKE('%swing%') or
Tags LIKE('%servlets%') or
Tags LIKE('%tomcat%') or
Tags LIKE('%junit%') or
Tags LIKE('%spring%') or
Tags LIKE('%hibernate%') or
Tags LIKE('%jar%') or
Tags LIKE('%jdbc%') or
Tags LIKE('%javafx%') or
Tags LIKE('%jframe%') or
Tags LIKE('%android-studio%') or
Tags LIKE('%java-ee%') or
Tags LIKE('%java-8%')  
)
AND CreationDate


BETWEEN'08-01-2014' and '08-31-2014'
)

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results