Group Information- Members: 2742
- Category: SQL
- Founded: Feb 17, 2003
- Language: English
|
Stay up to speed on the latest Groups news and updates, visit the
Groups blog today!
Description
SQL Queries Advice for any programming language
NOT NOT NOT an ASP.net group go to [AspNetAnyQuestionIsOk] if you have ASP.net questions
This list is to discuss primarily the SQL Query you are activating in your code including easy, medium, hard SQL Queries:
- "Select ..."
- "Insert Into"
- "Delete ..."
- "Update ...."
- joins, Actions, DDL, Aggregate, Multi-Table, Cubes, OLAP, etc.
and is NOT NOT NOT really about debugging or including the ASP, ASP.net, ColdFusion, VB, C# or whatever code that calls ro consumes that query.
GENERALLY we want to see the SQL statement only, not all the surrounding programming code since we don't want to become a code-debugging lists - there are plenty of those.
To paraphrase Joe Friday from Dragnet "Just the SQL Please"
If possible we don't talk about Stored Procedures or Packages because they are DBMS specific (SQLserver and Oracle respectively) but if they are the most efficient way to get results we will discuss them.
We are not really an Oracle, SQLserver or Informix, etc. specific support list so as questions drift from SQLqueries into issues peculiar to only those specific database platforms, we suggest those questions occur on DBMS specific lists not these.
|
Re: Help with Sql query
Try something like: (I set up a sample table) SET NOCOUNT ON DECLARE @Students table ( RowID int IDENTITY, LastFirst varchar(20), Family_Ident
Posted - Wed Oct 15, 2008 8:37 pm
|
Arnie Rowland
arnie1568
Offline Send Email
|
Re: Help with Sql query
Just a guess create a view of all family_ident where schoolid = '2' grouping by family_ident select s.* from students s outer join view t on
Posted - Wed Oct 15, 2008 8:21 pm
|
J P
pulverizers73
Offline Send Email
|
Help with Sql query
Hello, I am trying to just get records with a school ID of 3 or 4 that do not have a record in school id 2. So if a child has a sibling in schoolId 2 then I
Posted - Wed Oct 15, 2008 8:05 pm
|
lovela80
Offline Send Email
|
Re: can anyone solve this query?
Looks like homework time again... How about posting your attempts so far. Demonstrate that you are actually attempting to solve the problem instead of just
Posted - Tue Oct 14, 2008 10:56 pm
|
Arnie Rowland
arnie1568
Offline Send Email
|
can anyone solve this query?
the tables given are CREATE TABLE menu (food_name VARCHAR(20) not NULL, food_type VARCHAR(20) not NULL, price decimal(4,2) unsigned NOT NULL, PRIMARY KEY
Posted - Tue Oct 14, 2008 10:40 pm
|
max
maxdelmore
Offline Send Email
|
Add SQLQueriesNoCode to your personalized My Yahoo! page What's This?
|
Message History
Group Email Addresses
| Post message: |
SQLQueriesNoCode@yahoogroups.com |
| Subscribe: |
SQLQueriesNoCode-subscribe@yahoogroups.com |
| Unsubscribe: |
SQLQueriesNoCode-unsubscribe@yahoogroups.com |
| List owner: |
SQLQueriesNoCode-owner@yahoogroups.com |
|