title

0

Please login or register to vote for this query.

(click on this box to dismiss)

Joomla

Q&A for Joomla! administrators, users, developers and designers

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('%spring%') or

Tags LIKE('%hibernate%') 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'10-01-2015' and '10-31-2015'

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('%spring%') or

Tags LIKE('%hibernate%') 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'10-01-2015' and '10-31-2015')

Enter Parameters

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