MINUTE/de

From SQLZOO
Jump to navigation Jump to search
Kompatibilität
MINUTE(d)
DBMSOKAlternative
IngresNein EXTRACT(DAY from d)
MySQLJa EXTRACT(DAY from d)
OracleNein TO_CHAR(d,'DD')
PostgreSQLNein EXTRACT(DAY from d)
SQL ServerJa DATEPART(DAY,d)

MINUTE

MINUTE ermittelt die Minute aus einem Datums-/Zeitwert.

   MINUTE(d)

In diesem Beispiel wird die Minute aus dem whn-Datumswert ermittelt.

SELECT EXTRACT(MONTH from whn) AS v
      ,whn
      ,wht
  FROM eclipse
SELECT EXTRACT(MONTH from whn) AS v
      ,whn
      ,wht
  FROM eclipse
SELECT TO_CHAR(whn,'MONTH') AS v
      ,whn
      ,wht
  FROM gisq.eclipse
SELECT MINUTE(whn) AS v, whn, wht
  FROM eclipse

Siehe auch

Language:Project:Language policy [[:{{#invoke:String|sub|MINUTE/de
 |1
 |Expression error: Unrecognized punctuation character "{".
}}|English]]
DataWars, Data Science Practice Projects - LogoDataWars: Practice Data Science/Analysis with +100 Real Life Projects