Viewing 13 posts - 106 through 118 (of 118 total)
This problem can be solved using CROSS JOINs as well.
My solution is followed:
create table #tblfootball
(
ID INT IDENTITY(1,1)
,NAME VARCHAR(100)
);
INSERT #tblfootball(NAME)
VALUES('a'),('b'),('c'),('d'),('e');
select *
from #tblfootball;
select row_number() over(order by t1.name) as matchnum, t1.name as...
June 16, 2016 at 7:53 am
I request you to do minimum ground work before posting a question like CREATE VIEW syntax.
Just little googling can help you for syntax.
June 15, 2016 at 3:37 am
Thanks, that's awesome solution.
Your approach to provide hints so that I would work on actual solution is excellent so that I could learn my self.
Here follow's my solution implementations:
using GROUP...
June 13, 2016 at 6:22 am
Thanks for the quick response!!
However this solution is not serving the purpose.
meanwhile I have tried and my solution is as followed, the problem with solution is unique record(s) from duplicate...
June 13, 2016 at 4:53 am
Hi all,
Yes, its an interview question.
As already mentioned in my post, I have implemented the solution using Cursors but the interviewer looking for solution using single SQL query which I...
June 13, 2016 at 2:35 am
Thanks a lot.
I learned a new thing today from you.
June 11, 2016 at 1:46 pm
Thanks for the reply.
My performance in interview is not up to the mark, but I have positive attitude to learn from my mistakes.
I knew the number table but not by...
June 11, 2016 at 12:23 pm
This is an interview question, I have tried with this solution;
SELECT Replicate(c1, c2);
the result I got is:
AAAAA
BBB
CC
June 11, 2016 at 7:35 am
Thank you, you saved my day 🙂
February 22, 2016 at 11:46 pm
Matt Miller,
Thanks a lot, its solved the issue which I am struggling for last 2 days!!
December 11, 2015 at 5:43 am
Thanks, its helpful for me to proceed further in my work.
October 28, 2015 at 11:33 pm
Hi,
Please find the solution at below thread,
September 11, 2012 at 11:35 pm
Viewing 13 posts - 106 through 118 (of 118 total)