Problem 3. Town Names Starting With
Здравейте, може ли помощ по тази, понеже ми дава с моя код 20/100 .
Благодаря предварително!
CREATE PROCEDURE usp_GetTownsStartingWith (@townName VARCHAR (50))
AS
BEGIN
SELECT [Name] FROM Towns
WHERE LEFT ([Name],1) IN ('B')
END
задачата:
Write a stored procedure usp_GetTownsStartingWith that accept string as parameter and returns all town names starting with that string.
Example
Here is the list of all towns starting with “b”.
|
Town |
|
Bellevue |
|
Bothell |
|
Bordeaux |
|
Berlin |
Благодаря ти много :)