mysql - Is there a way to make my credential information not return after I insert it into my database -
lets if wanted insert user infomation users
table in database, following json format of information want insert:
{ 'id': 1, 'username': 'asd123', 'password': 'abc123' }
how can make return id
, username
when select * users id = 1
instead of
select *
use
select id, username
explanation: *
used when want columns, otherwise use specific column names. use *
when required.
Comments
Post a Comment