SELECT TOP 20 PostTypeId, LOWER(Title) AS 'low_title', UP...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Craft CMS Meta

Q&A about the site for administrators, end users, developers and designers for Craft CMS

--Display the PostTypeId, Title in lowercase and Body in uppercase for all posts whose PostTypeId equals 1. Remember to use TOP 20.
SELECT TOP 20 PostTypeId, LOWER(Title) AS 'low_title', UPPER(Body) as 'upper_body'
FROM posts
WHERE postTYPEid = 1

Enter Parameters

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