Reply to newbie SQL questions...

Your name:

Reply:


Posted by Niel Darren on 01/26/07 09:00

Hi,

I am a total newbie with SQL-statements, but hope you can help me, i have a
few questions:

1. How can i get the number of rows/records in a table with a SQL statement
?

2. I have a record looking like this:
ID, TIMESTAMP (hh:mm:ss), datastring

Is it possible with a SQL-statement to for example extract all records
between one timestamp to another in that format or should i convert it into
a unixtimestamp instead for simplicity ?

3. Is it possible to do calculations ? i have another table with: ID,
TIMESTAMP, graph x-point value
Then i want to instruct it to extract from one time to another, and give
me the average of all theese values (only asking if i can do it with SQL, if
not i can do it with code ofcourse).

Do you have a link to a PDF or similar resource that is useful for a SQL
newbie so i could get an insight in SQL - as i said, i am not much into it.

Thanks alot.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация