Вы находитесь на странице: 1из 4

REPEAT & REPLACE

Function

Submitted by:
Nathaniel M. Peña

Submitted To:
Sir. Mcjoben Reyes
 CREATE DATABASE
Create database name “teampayaman”.

 USE DATABASE
Use or Select the database created.

 CREATE TABLE
Create table name “tp_member”.
 INSERT DATA
Insert values to “tp_member” table.

 SELECT FROM TABLE


Select all fields from “tp_member” to display the values.

 REPEAT() FUNCTION
Repeat all the values from field ‘name’ at 5 times to all person.

All the values from field ‘Name’ repeated 5 Times.


*Repeat all the values from field ‘name’ at 5 times for specific person.

REPLACE() FUCTION
Replaces all occurrences of a substring within a string, with a new substring.

Field name
Replace ‘yt’ to ‘fb’

Вам также может понравиться