User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the MySQL section within the Web Development category of DaniWeb, a massive community of 330,222 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,961 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our MySQL advertiser:
Views: 242 | Replies: 4
Reply
Join Date: Mar 2008
Posts: 7
Reputation: krish_kooll is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
krish_kooll krish_kooll is offline Offline
Newbie Poster

how to generate a mysql query from a english question

  #1  
Mar 27th, 2008
i want to generate a query
example:
if the english question s given

->list all the details from my_table where name='smith' and age <30

it shld generate a mysql query for the question

->SELECT * FROM my_table WHERE name = 'Smith AND age < 30;
Last edited by krish_kooll : Mar 27th, 2008 at 10:03 am.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Oct 2007
Location: South Africa
Posts: 59
Reputation: RoryGren is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 6
RoryGren's Avatar
RoryGren RoryGren is offline Offline
Junior Poster in Training

Re: how to generate a mysql query from a english question

  #2  
Mar 27th, 2008
I don't think you will be able to do that from mySQL.

What scripting / programming language are you going to use?
Reply With Quote  
Join Date: Mar 2008
Posts: 7
Reputation: krish_kooll is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
krish_kooll krish_kooll is offline Offline
Newbie Poster

Re: how to generate a mysql query from a english question

  #3  
Mar 27th, 2008
using java... something like querybrowser
Reply With Quote  
Join Date: Oct 2007
Location: South Africa
Posts: 59
Reputation: RoryGren is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 6
RoryGren's Avatar
RoryGren RoryGren is offline Offline
Junior Poster in Training

Re: how to generate a mysql query from a english question

  #4  
Mar 27th, 2008
I suggest you post your question on the Java forum. You'll probably get better help there
Reply With Quote  
Join Date: Mar 2008
Posts: 23
Reputation: blater is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 7
blater's Avatar
blater blater is offline Offline
Newbie Poster

Re: how to generate a mysql query from a english question

  #5  
Mar 30th, 2008
It's a difficult problem, but if you limit the vocabulary that can be used it's doable. Check out http://www.markwatson.com/opensource/#nlbean for an example implementation in Java.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

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

 

DaniWeb Marketplace (Sponsored Links)
Thread Tools Display Modes

Other Threads in the MySQL Forum

All times are GMT -4. The time now is 4:00 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC