how to get one week data in sql code example Example: get week day from date in sql SELECT TO_CHAR(your_table.date_colunm, 'DAY') FROM your_table;