AmitDiwan has Published 10740 Articles

MySQL Quoted table/field names vs unquoted names?

AmitDiwan

AmitDiwan

Updated on 22-Aug-2019 12:40:38

227 Views

Any identifiers like tablename, stored procedure, viewname or column etc. may be quoted or unquoted. When an identifier is a reserved keyword then you must quote it, else an error would occur.Let us first create a table. Here, we have taken field names as reserved keywords −mysql> create table `INT` ... Read More

HTML DOM Input Range stepUp() method

AmitDiwan

AmitDiwan

Updated on 22-Aug-2019 12:39:10

151 Views

The HTML DOM Input Range stepUp() method is used for incrementing the slider control value by a specified number. If left blank then it will increment by 1.If the step attribute is specified then the stepUp() method will increment in multiple of that. Eg: If step=”20” then stepUp(2) will increment ... Read More

HTML DOM Input Range stepDown() method

AmitDiwan

AmitDiwan

Updated on 22-Aug-2019 12:34:50

150 Views

The HTML DOM Input Range stepDown() method is used for decrementing the slider control value by a specified number. If left blank then it will decrement by 1. If the step attribute is specified then the stepdown() method will decrement in multiple of that. Eg: If step=”20” then stepDown(2) will ... Read More

Perform MySQL ORDER BY keyword match?

AmitDiwan

AmitDiwan

Updated on 22-Aug-2019 12:33:34

175 Views

For this, let us create a table, insert some values and use ORDER BY CASE. Let us first create a table −mysql> create table DemoTable602 (GameName text); Query OK, 0 rows affected (0.55 sec)Insert some records in the table using insert command −mysql> insert into DemoTable602 values('Candy cash game'); Query ... Read More

Retrieve records whenever a column value starts with 2 vowel letters in MySQL

AmitDiwan

AmitDiwan

Updated on 22-Aug-2019 12:30:19

133 Views

Let us first create a table −mysql> create table DemoTable664 (CityName varchar(100)); Query OK, 0 rows affected (0.89 sec)Insert some records in the table using insert command −mysql> insert into DemoTable664 values('Springfield'); Query OK, 1 row affected (0.15 sec) mysql> insert into DemoTable664 values('Austin'); Query OK, 1 row affected (0.30 ... Read More

HTML DOM Input Range step property

AmitDiwan

AmitDiwan

Updated on 22-Aug-2019 12:29:44

175 Views

The HTML DOM Input Range step property is used for setting or returning the slider control step attribute value. It specifies how much the slider will move on each movement. By using the max and min attribute with the step property, we can define a range of legal values.SyntaxFollowing is ... Read More

HTML DOM Input Range object

AmitDiwan

AmitDiwan

Updated on 22-Aug-2019 12:26:22

246 Views

The HTML DOM Input Range object is associated with the element with type “range”. We can create and access an input element with type range using the createElement() and getElementById() method respectively.PropertiesFollowing are the properties for the Input range object −Sr.NoProperty & Description1autocompleteTo set or return the autocomplete attribute ... Read More

HTML DOM Input Range name property

AmitDiwan

AmitDiwan

Updated on 22-Aug-2019 12:20:33

149 Views

The HTML DOM Input range name property is used for setting or returning the name attribute of an input range field. The name attribute helps in identifying the form data after it has been submitted to the server. JavaScript can also use the name attribute to refer form elements for ... Read More

How to separate last name and first names in single column into two new columns in MySQL?

AmitDiwan

AmitDiwan

Updated on 22-Aug-2019 12:19:39

3K+ Views

For this, use SUBSTRING_INDEX() and REPLACE(). Let us first create a table −mysql> create table DemoTable (Name varchar(100)); Query OK, 0 rows affected (0.53 sec)Insert some records in the table using insert command. Here, we have inserted last name and first names −mysql> insert into DemoTable values('Chris | Bob Brown'); ... Read More

HTML DOM Input Range min property

AmitDiwan

AmitDiwan

Updated on 22-Aug-2019 12:14:48

177 Views

The HTML DOM Input Range min property is used for setting or returning the min attribute value for the range slider control. This attribute is used for indicating the minimum value of the slider control and is often used with min property to create a range of values between which ... Read More

Advertisements