sql - How to fetch data from a query by extracting month from the created date field -
i have table , want extract data on basis of month value of created date field. how can obtained? here query:
select * (table name a) select extract (month a.createddate )from table name
table contains field timestamp type.
if need apply filter on month of timestamp
column:
select * yourtable extract (month yourfield) = ...
Comments
Post a Comment