Course
Simulator
More
Premium
Log in
SQL Function Reference
Functions
INSTR
INSTR
Returns the position of the first occurrence of a substring in a string
MySQL
INSTR
(
str
,
substr
)
str
Source string
substr
Search substring
Examples
MySQL
SELECT
INSTR
(
'sql-academy'
,
'academy'
)
;