₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,020 members, 8,419,966 topics. Date: Thursday, 04 June 2026 at 08:28 AM

Toggle theme

Sql Queries - Programming - Nairaland

Nairaland ForumScience/TechnologyProgrammingSql Queries (1971 Views)

1 Reply (Go Down)

Sql Queries by cryingbaby(op): 6:57am On Aug 27, 2011
Please i need a help to create an sql queries for the following question.

1. A query that will demand for a particular date range, a list of all dairy tittles,creation date and thier creators email addresses. the user should be prompted for the start and end date of the required period, produce the sql code only.
Re: Sql Queries by Fayimora(m): 7:37pm On Aug 27, 2011
Are you sure you know what you are saying? SQL query and you talking about prompting? please check your question,
Re: Sql Queries by ax242001(m): 8:46pm On Aug 27, 2011
cryingbaby

1. i am interested. but, i need your question in English?. 2. i need the list of Fields to report after your query filter have being commanded to?.

if query on date range? what are the values you are expecting and the date range for prompt solution?. i am waiting for your responses?


ok. tongue
Re: Sql Queries by member479760: 7:30am On Aug 28, 2011
OP, code something out first, show us then people can work on it!
Re: Sql Queries by ax242001(m): 12:46pm On Aug 28, 2011
cryingbaby,

We are still waiting for the question?. if it is difficult to explain. just post a scanned copy for solution.
Re: Sql Queries by wooni(m): 1:13am On Sep 01, 2011
best queries ebooks plz
Re: Sql Queries by dhtml7(m): 8:47pm On Sep 02, 2011
Na wa o, see as they guys them wan chop am. Post codes keh? If na me, i go just jar commoth for hia quick quick.

@op, you need to write some php codes and then some sql queries to run inside your php codes.
MySQL is (as them programmers will say) - a middleware application. . .
Re: Sql Queries by Kobojunkie: 2:57am On Sep 03, 2011
A lot of these question who come on here to ask questions do not bother spending time doing their homework first, to at least understand what it is they really need to ask. How can SQL Prompt user for input?
Re: Sql Queries by wassolldas: 5:11pm On Sep 04, 2011
That is possible, for example in oracle,


select * from account where id = &id;

I think they are called bind variables or something
Re: Sql Queries by Maleeq(m): 11:28am On Sep 06, 2011
SQL can prompt for input. Just as wassolidas stated, these prompts can be in the forms of literals, substitution and bind variables. What the OP needs is a substitution variable, i.e precede the input prompt variable with an ampersand. (select * from departments where dept_id = &deptID)

Bind variables are explicitly predefined variables for repeated use in the current session (declaration: var par_name, Usage: select name into :par_name from users)

@cryingbaby

Sounds like you're trying to get an assignment done for you. Best learning practice would be you pasting excerpts of your independent attempt(s) and get guide from peeps here.
Re: Sql Queries by Nobody: 9:56am On Sep 10, 2011
sql prompt? as in gui prompt?
Re: Sql Queries by Fayimora(m): 1:01pm On Sep 10, 2011
Am beginning to wonder to
1 Reply

Google ‘rankbrain’ – Search Queries Just Getting More Sharpened With AIHow To Connect Vb.net Windows Application To Php And My Sql DatabaseOracle Vs Sql Server234

Guyz Pls Help Hw Do I Start Learning Web Designing.Java SE, EE & Scala Developers - Lets Connect And Share KnowledgeDigital Signature - An Image Utility Software