all groups > sql server programming > march 2005 >
You're in the

sql server programming

group:

Need to Improve


Need to Improve TargetBleigh
3/30/2005 11:44:50 PM
sql server programming:
I need to improve my supposedly considerable SQL query skills.
A change in management has forced me to re-interview for my own position,
and now I am in a hurry to develop the skills that I had exaggerated on my
Job Description Form 22b1993-a.

I would like a *free* set of online Queries, along with explanations.
A quiz-type environment would be acceptable to me.

I am a Senior SQL programmer for that Huge Retail Chain that basically rules
the world with a smiley face.

It is imperative that I learn my job quickly.
Pleae help.





RE: Need to Improve Cowboy (Gregory A. Beamer) - MVP
3/31/2005 5:51:03 AM
I am not sure if this is a troll or a sincere request. Why? As a sincere
request, it shows immense lack of forethought.

1. Asking for examples of advanced queries can be done without directly
mentioning your situation.

2. It is rather idiotic to openly admit you are lacking some skills
necessary for your job in an open forum where your boss, or competitor, can
search. They cannot, of course, prove it is you, but they can make sure you
are hammered on anything you lied (exaggerated) about on your 22b1993-a.

As far as questions, here are a couple of sites our DBAs have used to put
together a technical interview:

http://vyaskn.tripod.com/iq.htm
http://www.techinterviews.com/?p=161

sswug.org is also a great spot for technical information.


---

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************


[quoted text, click to view]
Re: Need to Improve:Don't worry arcin69
3/31/2005 6:38:47 AM
You work for Walmart. Don't worry about it. The pay can't be that
great. Incompetence is always rewarded. You can't be any dumber than
the greeters and stockers.



[quoted text, click to view]
Re: Need to Improve:Don't worry arcin69
3/31/2005 6:38:49 AM
You work for Walmart. Don't worry about it. The pay can't be that
great. Incompetence is always rewarded. You can't be any dumber than
the greeters and stockers.



[quoted text, click to view]
Re: Need to Improve David Portas
3/31/2005 7:30:56 AM
I advise a career change. Try politics. You won't have to bother to
actually study or learn anything and your mendacity could be regarded
as an asset.

--
David Portas
SQL Server MVP
--
RE: Need to Improve Richard
3/31/2005 8:01:03 AM
Just try the following book:
Microsoft® SQL Server™ 2000 Programming Step by Step
http://www.microsoft.com/MSPress/books/4713.asp

Hope this helps.

[quoted text, click to view]
Re: Need to Improve Bob Barrows [MVP]
3/31/2005 9:59:51 AM
[quoted text, click to view]
Wait a minute. You said you were already fired.
http://groups-beta.google.com/group/microsoft.public.sqlserver.programming/browse_frm/thread/8b3f4da5c27945ad/586d8495444f1f2a?q=&rnum=1#586d8495444f1f2a

You actually tricked somebody into hiring you??? That is impressive.

Oh, wait ... given the degree of dishonesty to which you just admitted,
maybe the truth is that you were never really fired? And that was simply a
ploy to gain sympathy ... ?

Bob Barrows

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.

Re: Need to Improve Raymond D'Anjou
3/31/2005 10:11:01 AM
He's baaaack.
I thought I recognized that name from somewhere.
He left a lasting impression on me...
not neccessarily the good kind...
and it's not getting any better.

[quoted text, click to view]

Re: Need to Improve TargetBleigh
3/31/2005 6:55:20 PM
Ha! I do know the difference between a set of online questions (like I asked
for) and a book!

Your advice is RE-jected.


Re: Need to Improve Michael C#
3/31/2005 10:22:49 PM
And that, ladies and gentleman, is why the price on the shelf ***never***
matches the price at the register at Wal-Mart.

Here's an example previously posted by Aaron:

CREATE TABLE dbo.UnemploymentChecks
(
SSN CHAR(9),
dt SMALLDATETIME,
Amount DECIMAL(6,2),
PRIMARY KEY (SSN, dt)
)
GO

INSERT dbo.UnemploymentChecks
SELECT '036555555', '20040101', 600.00
UNION SELECT '036555555', '20040201', 400.00
UNION SELECT '036555555', '20040801', 500.00
UNION SELECT '036555555', '20041201', 200.00
UNION SELECT '036555666', '20040201', 600.00
UNION SELECT '036555666', '20040801', 500.00
UNION SELECT '036555666', '20041201', 700.00
GO

SELECT uc.SSN, uc.Amount,
MinAmountIsLastAmount = CASE uc.Amount
WHEN sub.Amount THEN 'Yes' ELSE 'No' END
FROM dbo.UnemploymentChecks uc
INNER JOIN
(
SELECT SSN, dt = MAX(dt), Amount = MIN(Amount)
FROM dbo.UnemploymentChecks
GROUP BY SSN
) sub
ON uc.SSN = sub.SSN
AND uc.dt = sub.dt
GO

DROP TABLE dbo.UnemploymentChecks
GO

Any questions?

[quoted text, click to view]

AddThis Social Bookmark Button