Пікірлер
@riazbhattihussain959
@riazbhattihussain959 Ай бұрын
This video is very informative and good. My question raised after watching this video that would you like to tell me the formula mentioned in q#2 for access database without Sql coding , i shall be highly thankful to you for this.
@vijay.s-ll1yq
@vijay.s-ll1yq 5 ай бұрын
Declare @max date; set @max =(select max(HireDate) from tblEmployee_HireDates); with cte as (select min(HireDate) as HireDate from tblEmployee_HireDates union all select dateadd(day,1,HireDate) from cte where HireDate < @max ), cte2 as (select a.*,b.HireDate as hir from cte A left outer join tblEmployee_HireDates b on a.HireDate =b.HireDate), cte3 as (select *,case when hir is null then 1 else 0 end rnk from cte2) select HireDate from cte3 where rnk =1
@vijay.s-ll1yq
@vijay.s-ll1yq 5 ай бұрын
select a.empid,a.empname,a.salary,b.salary from emptable A join emptable b on a.managerid =b.empid and a.salary >b.salary
@mahithamylo66
@mahithamylo66 6 ай бұрын
Please do shorts as explained in a timeline for 2 minutes, so that it would be really helpful to the aspirants. Thanks
@mahithamylo66
@mahithamylo66 6 ай бұрын
Please let me know if you have any other channels related, almost 3 years ago you did videos and now a days not available any videos following your blogs as well
@mahithamylo66
@mahithamylo66 6 ай бұрын
Thanks for all the powerful videos SQL best channel
@mahithamylo66
@mahithamylo66 6 ай бұрын
Hi baby, Nice meeting you, I am big fan of this channel and hope let do more videos on Scenario based. Please do More videos SSMS related Interview questions based. Thank you! God Bless you!
@mahithamylo66
@mahithamylo66 6 ай бұрын
GREAT VIDEOS, HELPFUL, THANKS
@mahithamylo66
@mahithamylo66 6 ай бұрын
Please provide script for tables, Thanks
@mahithamylo66
@mahithamylo66 6 ай бұрын
please provide the script of the table creation
@dawitworku821
@dawitworku821 6 ай бұрын
Thank you my brother from another mother. It was very helpful.
@HelpyHelpy
@HelpyHelpy 6 ай бұрын
thank you friend! helped a lot
@anjaligoorha3180
@anjaligoorha3180 7 ай бұрын
Hi Ravi, I like your way of explaining, ... but I have updated the view based on multiple tables, and it got updated on dept_id, as I updated as per you...
@anjaligoorha3180
@anjaligoorha3180 7 ай бұрын
very effective teaching method.. ROCK.. 🎉
@TrironyCyprus
@TrironyCyprus 9 ай бұрын
Thanks
@vsagar4b38
@vsagar4b38 10 ай бұрын
Super
@deepakks3736
@deepakks3736 10 ай бұрын
Hi, I have 2 weeks to apear to the exam as per the vocher my company gave me, i am a begineer to azure services please let me know the best stratergy to clear the exam, thanks
@Shankar-zi3yk
@Shankar-zi3yk 11 ай бұрын
May i know why are you specifying value in select statement
@AhaiziahP
@AhaiziahP Жыл бұрын
thank you!
@ashokbhum06
@ashokbhum06 Жыл бұрын
Wats the solution sir
@dineshbalu2038
@dineshbalu2038 Жыл бұрын
Hi my name is Dinesh I have a question for relevant this topic how to print star pattern in my sql bcz it's not working in myself workbench can you please post this question
@sqlwithravimartha6357
@sqlwithravimartha6357 Жыл бұрын
Not exact solution though but below code would give you the clue to solve these start patterns SET @maxlen := 5; WITH RECURSIVE cte AS ( SELECT @maxlen num UNION ALL SELECT num - 1 FROM cte WHERE num > 1 ) SELECT REPEAT('*', num) FROM cte
@ashokrajann9351
@ashokrajann9351 Жыл бұрын
How to achieve this in oracle?
@sqlwithravimartha6357
@sqlwithravimartha6357 Жыл бұрын
Hope this will give some clue with rws as ( select 'split,into,rows' str from dual ) select regexp_substr ( str, '[^,]+', 1, level ) value from rws connect by level <= length ( str ) - length ( replace ( str, ',' ) ) + 1; VALUE split into rows
@vivekparashar3601
@vivekparashar3601 Жыл бұрын
How the cross apply worked here as we have not provided any where condition. Also, I believe if we don’t apply the where condition then it connect every row of first table with another something like cross join. Can you pls help to understand. Thanks
@sqlwithravimartha6357
@sqlwithravimartha6357 Жыл бұрын
Its applies on each row... even though there are duplicate rows, it will pick up each row and split the values based on delimiter
@sankarseeman5248
@sankarseeman5248 Жыл бұрын
Thanks This helped me on time❤
@sqlwithravimartha6357
@sqlwithravimartha6357 Жыл бұрын
You're welcome 😊
@Elite1Show
@Elite1Show Жыл бұрын
Good
@sqlwithravimartha6357
@sqlwithravimartha6357 Жыл бұрын
Thanks
@bharathiyadlapati5488
@bharathiyadlapati5488 Жыл бұрын
I can’t see sql server native client optiona under Data Source
@sqlwithravimartha6357
@sqlwithravimartha6357 Жыл бұрын
choose SQL server if you are importing to SQL server table
@satishchaurasia84ya
@satishchaurasia84ya Жыл бұрын
Excellent👍👏❤Keep it up.
@sqlwithravimartha6357
@sqlwithravimartha6357 Жыл бұрын
Thank you
@TacoKoo
@TacoKoo Жыл бұрын
I took the Microsoft Azure Virtual Training Day for Data Fundamentals this month. What I got the email contents is different from yours, i,e. "at no cost" is not shown. So, should I say the free examination is merely an occasional promotion? I did click the exam link and it said there is no discount for my email address. Thx.
@sqlwithravimartha6357
@sqlwithravimartha6357 Жыл бұрын
It's worth sending an email to Microsoft team if they are providing any vouchers for the exam, also check if your email has any vouchers
@TacoKoo
@TacoKoo 11 ай бұрын
@@sqlwithravimartha6357 Oh yes, thank you
@lizaaguilar3764
@lizaaguilar3764 Жыл бұрын
hi, how can I use this in PostgreSQL? whats the the right query?thanks
@sqlwithravimartha6357
@sqlwithravimartha6357 Жыл бұрын
Try using string_to_array(ColumnName, ',')
@sparshkapoor8517
@sparshkapoor8517 Жыл бұрын
kindly provide solution of mysql also, Thanks!
@sqlwithravimartha6357
@sqlwithravimartha6357 Жыл бұрын
Below code would give clue to solve these star patterns SET @maxlen := 5; WITH RECURSIVE cte AS ( SELECT @maxlen num UNION ALL SELECT num - 1 FROM cte WHERE num > 1 ) SELECT REPEAT('*', num) FROM cte
@akshaysb6631
@akshaysb6631 Жыл бұрын
Hi sir, My company needs me to do any one certification among az104 or dp203? Which certification will be more easier to crack? Can u please help me
@sqlwithravimartha6357
@sqlwithravimartha6357 Жыл бұрын
Its better to do certification based on your future plans in terms of upskilling. DP 203 requires good preparation as it covers various azure services. I am not sure difficulty level of AZ104 certification.
@KoteswararaoGanta-c3h
@KoteswararaoGanta-c3h Жыл бұрын
Hi Sir if it is possible try to cover all interview questions and answers.
@sqlwithravimartha6357
@sqlwithravimartha6357 Жыл бұрын
sure
@PrakharRai-v2c
@PrakharRai-v2c Жыл бұрын
You're transferring data from one database to another not one server to another. Please change the title of the video.
@sqlwithravimartha6357
@sqlwithravimartha6357 Жыл бұрын
yes, Thanks for pointing it out. I didn't have a different server or a different instance on my machine... except choosing the target server name rest all same. I have mentioned the same thing the video as well.
@torutimm7042
@torutimm7042 Жыл бұрын
thanks for this video))
@sqlwithravimartha6357
@sqlwithravimartha6357 Жыл бұрын
You're welcome 😊
@soundaryas5907
@soundaryas5907 Жыл бұрын
Did ur schedule fee got refunded
@sqlwithravimartha6357
@sqlwithravimartha6357 Жыл бұрын
Be sure to reschedule or cancel exam appointments at least 24 hours before your scheduled exam or your fee will be forfeited
@aanchalsrivastava8550
@aanchalsrivastava8550 Жыл бұрын
How can we get dumps for this exam
@sqlwithravimartha6357
@sqlwithravimartha6357 Жыл бұрын
Its always advisable to go through concepts and attempt the exam. However if you google search there are few websites which would give similar questions which are asked in the exam.
@aanchalsrivastava8550
@aanchalsrivastava8550 Жыл бұрын
Json as well
@sqlwithravimartha6357
@sqlwithravimartha6357 Жыл бұрын
sure
@aanchalsrivastava8550
@aanchalsrivastava8550 Жыл бұрын
Make video on dynamic sql
@sqlwithravimartha6357
@sqlwithravimartha6357 Жыл бұрын
sure
@ipadhardex
@ipadhardex Жыл бұрын
Ravimartha, got messages this Argument data type int is invalid for argument 1 of string_split function.
@ipadhardex
@ipadhardex Жыл бұрын
plaese help thanks
@sqlwithravimartha6357
@sqlwithravimartha6357 Жыл бұрын
Please post me the snippet and the query to check the error?
@nageswar618
@nageswar618 Жыл бұрын
How to import tables with constraints
@sqlwithravimartha6357
@sqlwithravimartha6357 Жыл бұрын
You can directly Importing table with constraints, however those constraints will not be creating in destination table. If you want to have the same table structure as source then while importing go to Edit Mapping and Edit SQL and define the destination table with constraints same as source table. Attached snippet for the same in my blog link. Hope that helps. sqlwithravimartha.blogspot.com/2020/07/importing-tables-from-one-server-to.html
@chandanofficial7
@chandanofficial7 Жыл бұрын
Can I transfer money from Nepal to Germany using your refferal code
@sqlwithravimartha6357
@sqlwithravimartha6357 Жыл бұрын
NPR to EUR is not yet available on wise platform. will let you know when it is available.
@kiranpatil4968
@kiranpatil4968 Жыл бұрын
[English], [French] how to fetch only english & French with sql removing bracket
@sqlwithravimartha6357
@sqlwithravimartha6357 Жыл бұрын
One easy way to use REPLACE() function twice one for [ and one for ].
@hanumegowdabh6268
@hanumegowdabh6268 Жыл бұрын
sql server 2005 how to split , or | separation text ?
@sqlwithravimartha6357
@sqlwithravimartha6357 Жыл бұрын
Hi, Thanks for your comment. I have pinned the solution as the first comment, please refer and let me know if you still need help.
@hanumegowdabh6268
@hanumegowdabh6268 Жыл бұрын
@@sqlwithravimartha6357 you have solution for that pls share
@RaviNani1984
@RaviNani1984 Жыл бұрын
@@hanumegowdabh6268 You can create a function as below if you are using older version of MS SQL Server and call the function to split: CREATE OR ALTER FUNCTION [dbo].[udf_String_Split] (@StringtoSplit VARCHAR(8000)) RETURNS @ReturnTable TABLE (columname [nvarchar] (1000)) AS BEGIN DECLARE @SubString NVARCHAR(255) DECLARE @Index INT WHILE CHARINDEX(',',@StringtoSplit) > 0 BEGIN SELECT @Index = CHARINDEX(',', @StringtoSplit) SELECT @SubString = SUBSTRING(@StringtoSplit,1,@Index-1) INSERT INTO @ReturnTable SELECT @SubString SELECT @StringtoSplit = SUBSTRING(@StringtoSplit, @Index+1, LEN(@StringtoSplit)-@Index) END INSERT INTO @ReturnTable SELECT @StringtoSplit RETURN END ---------------------------- Explanation: 1. Here we are passing the column name which needs to split as a parameter. 2. Using the While loop, we identify the first position of delimiter and split the first substring and insert it to the return table. 3. Reset the Original String to the updated string excluding the first substring which we have written to the return table. 4. Will loop through the entire string and add those substring to the return table (table variable) 5. once we exist the While loop the String which needs to split will have just the last substring 6. That will be inserted to the return table after exiting the while loop. by which, all the substrings with delimiter will be loaded to Return table. Quick Check: SELECT * FROM dbo.[udf_String_Split] ('1,2,3,4,5')
@Choudhary_Shahab
@Choudhary_Shahab 2 жыл бұрын
Can we use String_Agg (String Aggregate) for this ?
@sqlwithravimartha6357
@sqlwithravimartha6357 Жыл бұрын
yes, you can use this to concatenating rows with specified delimiter / seperator.
@vamsikrishnamuthyala2434
@vamsikrishnamuthyala2434 2 жыл бұрын
This is the worst video I have ever seen
@nguyenngothuong
@nguyenngothuong 2 жыл бұрын
good video, thank you so much
@sqlwithravimartha6357
@sqlwithravimartha6357 Жыл бұрын
You are welcome!
@vivekvaani27
@vivekvaani27 2 жыл бұрын
Please send pdf og fundamental of testind
@sqlwithravimartha6357
@sqlwithravimartha6357 Жыл бұрын
Hi Vivek, I have provided the link in the description. Hope this info helps you. All the best! Here is the link: www.istqb.org/certifications/certified-tester-foundation-level Click download on the first pdf link on the right side with name: CTFL Syllabus 2018 v3.1.1
@kakmca
@kakmca 2 жыл бұрын
Super explanation🙂
@sqlwithravimartha6357
@sqlwithravimartha6357 Жыл бұрын
Glad you liked it
@TheVaibhavdang
@TheVaibhavdang 2 жыл бұрын
What if we use cte with window function?
@sqlwithravimartha6357
@sqlwithravimartha6357 Жыл бұрын
Yes, we can use window function as well. Just tried to explain one method in each video.
@gucheino
@gucheino 2 жыл бұрын
Hi there, I want to know how you can check the ID sequence in a table that has not been broken along an extensive database; I am talking about 20.000 ids. Thanks, For example, I want to know how I can check that the id=18610 until the id=19019 are consecutive and there are no missing numbers in the sequence.
@sqlwithravimartha6357
@sqlwithravimartha6357 Жыл бұрын
Pretty much similar, select the records from the table where id >= 18610 and id <= 19019 and generate the sequence starting from 18610 and do a left join.