GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing docs.voltactivedata.com — QUARTER() Using VoltDBQUARTER()QUARTER() — Returns the quarter of the year as an integer value SynopsisQUARTER( timestamp-value ) DescriptionThe QUARTER() function returns an integer value between 1 and 4 representing the quarter of the year in a TIMESTAMP value. The QUARTER() function produces the same result as using the QUARTER keyword with the EXTRACT() function. ExamplesThe following example uses the QUARTER() and YEAR() functions to group and sort records containing a timestamp. SELECT year(starttime), quarter(starttime),
count(*) as eventsperquarter
FROM event
GROUP BY year(starttime), quarter(starttime)
ORDER BY year(starttime), quarter(starttime); |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |