473,432 Members | 1,844 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,432 software developers and data experts.

Group by date

I have a query with the following columns, Course ID, Title, Start time, Ending Time, day (when each course is taught.. Monday through Sunday).
Now I want to group the course by Time of Day and Day offered. E.g
Monday Course Time of Day
Math 6:30PM - 9:00 PM
Bio 3:15 PM - 6:00 PM
Tuesday same

Or is it possible to have a table format where I have time of day for each day and courses offered on that particular time showing on the table for different days and course?
Please help

Thanks
Sep 4 '07 #1
1 1574
ADezii
8,834 Expert 8TB
I have a query with the following columns, Course ID, Title, Start time, Ending Time, day (when each course is taught.. Monday through Sunday).
Now I want to group the course by Time of Day and Day offered. E.g
Monday Course Time of Day
Math 6:30PM - 9:00 PM
Bio 3:15 PM - 6:00 PM
Tuesday same

Or is it possible to have a table format where I have time of day for each day and courses offered on that particular time showing on the table for different days and course?
Please help

Thanks
This is one thing I need clarification on. Is the [Time of Day] Field a combination of the [Start Time] and [Ending Time] Fields namely:
Expand|Select|Wrap|Line Numbers
  1. [Time of Day]: [Start Time] & " - " & [Ending Time]
Sep 4 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: bobb | last post by:
Is there a way to select count(*) by grouping by date, and having multiple date ranges? combining... select field,count(*) from table where datefield > 2004/1/1 and datefield < 2004/1/31 and...
2
by: aj70000 | last post by:
This is my query select ano,max(date),a_subject from MY_TAB where table_name='xyz' and ano=877 group by a_subject,ano order by a_subject ANO max(Date) A_Subject 877 2005-01-20...
1
by: aj70000 | last post by:
select ano,max(date),a_subject from MY_TAB where table_name='xyz' and ano=877 group by a_subject,ano order by a_subject id max(Date) A_Subject 877 2005-01-20...
1
by: Alicia | last post by:
I basically wanted something that would do a count of the dates, then group them by their week name.. BEFORE: Resource Date Total number of times that date Appeared (Count) 4/3/03 ...
1
by: Liz Malcolm | last post by:
Hello and TIA. I have a DE form with an option group that if daily is selected todays date is used for start and end date, if weekly is selected Monday - Friday is used. I am trying to add a...
7
by: matteosartori | last post by:
Hi all, I've spent all morning trying to work this one out: I've got the following string: ...
9
by: harborboy76 | last post by:
Hi, I have a problem with one of my view. Basically, I need to create a view to sum the amount in Table A grouped by the EMPLOYEE_ID. But I also need the ability to limit the date range. What...
1
by: inarobis | last post by:
Hello, I am newbie in Xquery and i would like to do a simple group by date and ID. so a piece of my xml file. <Authors> <Author> <ID>1</ID> <Date>30.07.2000</Date>
0
by: ombralonga | last post by:
Hi, I'm getting the following validation error with XMLspy when validating an "xsd" file: Schema Error: the group 'DateUnionGroup' is undefined However, in the xsd document the...
13
by: Killer42 | last post by:
Hi all. Hopefully a simple one for any SQL guru. In an Access query, how can I group by a date field, without having my data broken down by time? In other words, I just want a count per day, not...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.