Jump to content

Leaderboard

Popular Content

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

  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. E frumos cu ei la birou, nimeni de acolo nu asculta manele, doar muzica clasica, se vorbeste doar in termeni academici, nu se injura... Un mediu excelent de lucru. Nu stiu cum rezistati fara manele..
    1 point
  3. 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
  4. 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
×
×
  • Create New...