CodeLobster IDE

Free cross-platform PHP IDE (HTML, PHP, CSS, JavaScript, Python code editor) with support Drupal, Joomla, Twig, JQuery, BackboneJS, LaravelJS, Node.js, CodeIgniter, CakePHP, Laravel, Magento, MeteorJS, Phalcon, Symfony, VueJS, WordPress, Yii
It is currently Tue Mar 19, 2024 8:07 am

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: How to delete record which begin with a certain value withi
PostPosted: Thu Apr 12, 2018 6:33 am 
Offline

Joined: Fri Mar 30, 2018 2:26 am
Posts: 1
I've got a table named "Alias" , now I want to delete all records which begin with "tq=" within the "code" field.
For example..
if there is a record with: tq=4 in the "code" field, the record has to be deleted.
if there is a record with: ga=3 in the "code" field, the record may not be deleted.

I don't know how to do this, I have googled a while without result. Hopefully one of you guy's can help me with getting the sql coding.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 23 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2016 phpBB Group