homepage Welcome to WebmasterWorld Guest from 23.21.34.188
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / Databases
Forum Library, Charter, Moderators: physics

Databases Forum

    
Perform advanced searches in SELECT statement
ktsirig




msg:3986076
 4:23 pm on Sep 8, 2009 (gmt 0)

Hello all
I wanted to ask if there is a way of inserting some mathematics in an SQL select statement.
What I am interested in is to select all rows from a table where 56<ID<67 for example.

Thank you

 

ZydoSEO




msg:3986234
 8:32 pm on Sep 8, 2009 (gmt 0)

SELECT *
FROM mytable
WHERE ID > 56 AND ID < 67

You can put mathmatics in lots of parts of a SQL SELECT statement...

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Databases
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved