Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 03/29/21 in Posts

  1. Am gasit coleg, doar ca am asteptat o gramada dupa el (sper sa merite, ba!). In prezent suntem 4 boschetari de pe forum in echipa. RST nu moare!
    2 points
  2. Din ce am inteles, structura ta si valorile sunt ceva de genul CREATE TABLE `tabel1` ( `id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; INSERT INTO `tabel1` (`id`) VALUES (1); CREATE TABLE `tabel2` ( `id` int(11) NOT NULL, `identifier` varchar(100) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; INSERT INTO `tabel2` (`id`, `identifier`) VALUES (1, 'license:21312321312312321'); CREATE TABLE `tabel3` ( `identifier` varchar(100) NOT NULL, `timp` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; INSERT INTO `tabel3` (`identifier`, `timp`) VALUES ('license:21312321312312321', 100); COMMIT; si vrei o relationare sa-ti aduca identifier din tabelul 3 dupa ID-ul din tabelul 1 select tabel3.timp, tabel2.identifier from tabel3 inner join tabel2 on tabel2.identifier=tabel3.identifier inner join tabel1 on tabel2.id=tabel1.id and tabel1.id=1 # aici pui ID-ul din tabelul 1 EDIT: Daca vrei doar ce este dupa : din tabelul 2 select tabel3.timp, SUBSTRING_INDEX(tabel2.identifier,":",-1) as "license" from tabel3 inner join tabel2 on tabel2.identifier=tabel3.identifier inner join tabel1 on tabel2.id=tabel1.id and tabel1.id=1 # aici pui ID-ul din tabelul 1
    1 point
  3. Pentru ca acel 0% nu inseamna ca baeria ta este complet goala, ci doar nu mai poate face fata consumului mare de curent(display, gsm, difuzor, etc).Chiar daca telefonul tau e inchis, el tot mai "gandeste" putin.
    1 point
This leaderboard is set to Bucharest/GMT+02:00
×
×
  • Create New...