select from column mysql
/*
* Ex:- Selecting name from customer table
*/
SELECT name FROM customer;
/*
* Ex:- Selecting customer i.d and name from customer table
*/
SELECT id, name FROM customer;
select from column mysql
/*
* Ex:- Selecting name from customer table
*/
SELECT name FROM customer;
/*
* Ex:- Selecting customer i.d and name from customer table
*/
SELECT id, name FROM customer;
mysql select all columns and specific fields as
SELECT mytable.*, column20 AS Customer, column11 FROM mytable
-- OR
SELECT column11, column20 AS Customer, mytable.* FROM mytable
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us