TechSpott - Computer and technology forums

Go Back   TechSpott - Computer and technology forums > Webmasters > Database Management > MySQL
MySQL Forum dedicated to the world's most popular open source database engine.

Reply
 
Thread Tools Display Modes
Old April 18th, 2010, 08:39 AM   #1 (permalink)
Jed
Guest
 
Posts: n/a
Default How to fix this Mysql Query Problem?

lets say i have 3 records in my table.. it looks like this

id order Podate
1 1 2010-03-10
2 2 2010-03-10
3 3 2010-03-11

and when i executed this query:
SELECT * FROM `tbl_id` WHERE PoDate Between ('2010-03-10') AND ('2010-03-11')

it only returns the result where the PoDate is 2010-03-10

how come it does not show the date with 2010-03-11?
can anyone help?
  Reply With Quote Share with Facebook
Reply

Bookmarks

Tags
fix, mysql, problem, query


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MySQL Insert Query Issue? 24JJ24 MySQL 0 April 16th, 2010 11:16 PM
MySQL Insert Query Issue? 24JJ24 MySQL 0 April 16th, 2010 11:16 PM
Oracle Announces MySQL Cluster 7.1 News Bot News 0 April 13th, 2010 09:47 PM
Mysql Join Help for using two tables in one Query? Blue MySQL 0 April 4th, 2010 09:52 AM
what is the mysql query to store images? Santhosh MySQL 1 April 4th, 2010 03:00 AM

 
Forum Stats
Members: 14,323
Threads: 20,331
Posts: 27,688
Total Online: 38

Newest Member: estiliwer

Latest Threads

Advertisements

Support our advertisers!

Amazon
Sears
Macys
1800flowers.com
Drugstore.com


Carbonite Online-Backups
Tiger Direct
Tech Depot
Buy.com
Office Depot
Fatcow
HostGator


TripsNow.us
Marriott
Expedia
CheapTickets.com
OneTravel
Hotwire

Are you a Fan?

Share this on Facebook

Tag Cloud

Partner Links


Contact Us - Home - Archive - Privacy Statement - Top - Copyright © 2009-2010, TechSpott - All times are GMT -4. Time is 06:32 AM

Powered by vBulletin® Copyright © Jelsoft Enterprises Ltd. :: SEO by vBSEO