MySQL equivalent Code for Access SQL

Posted on 2014-04-10
Last Modified: 2014-04-11

In VB Access I have query:
SELECT First(t0001001.Litres) AS FirstOfLitres
FROM t0001001
WHERE (((t0001001.Date)=#2/24/2014#) AND ((t0001001.Time)>=#4/10/2014 1:39:0#) AND ((t0001001.Probe)="000100101"));

What is the equivalent in
Question by:shaunwingin
  • 2
LVL 34

Accepted Solution

Dan Craciun earned 500 total points
ID: 39991808
Try this:
SELECT `litres` FROM t0001001
WHERE `date` = '2014-02-24' AND `time` >= '1:39:00' AND `Probe` = '000100101'
ORDER BY `litres`

Open in new window

LVL 34

Expert Comment

by:Dan Craciun
ID: 39993476
Glad I could help!

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

If you find yourself in this situation “I have used SELECT DISTINCT but I’m getting duplicates” then I'm sorry to say you are using the wrong SQL technique as it only does one thing which is: produces whole rows that are unique. If the results you a…
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now