Skip to content

Commit 8911e72

Browse files
Update README.md
1 parent d42f160 commit 8911e72

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# SQLQueries
2-
SQL Server Queries
3-
<b> There are many ways to fetch first 5 characters of the string -.</b></br>
4-
<b>Ans</b> Select SUBSTRING(StudentName,1,5) as studentname from student
2+
SQL Server Queries<br/>
53

6-
1 Select RIGHT(Studentname,5) as studentname from student
4+
<b>What is the command used to fetch first 5 characters of the string?</b><br/>
5+
There are many ways to fetch first 5 characters of the string - <br/>
6+
a) Select SUBSTRING(StudentName,1,5) as studentname from student <br/>
7+
b) Select RIGHT(Studentname,5) as studentname from student

0 commit comments

Comments
 (0)