CONCAT('link==../samples/view/', samples.id, '==', samples.name) as 'Samples'
../samples/view/'
= LDB-internal Link
samples.id
= Part of the link
samples.name
= Display value
'Samples'
=Column heading
SELECT
CONCAT('link==../stats/view/2/html/', employees.id, '==', count(samples.id)) as 'Link',
employees.lastname as 'Mitarbeiter'
FROM samples
LEFT JOIN employees ON samples.employee_id =employees.id
count(samples.id)
and linked with handover of the employees.id
to evaluation No. 2 'link==../stats/view/2/html/'
, where the ID is inserted into _VAR0_
SELECT
samples.id,
CONCAT('link==../samples/view/', samples.id, '==', samples.name) as 'Samples',
FROM samples
JOIN employees ON samples.employee_id=employees.id
WHERE samples.visible_to != 'deleted'
AND samples.done < samples.total
AND samples.status > 0
AND samples.employee_id =_VAR0_;
SELECT
CONCAT('link==../stats/view/2/html/123==', count(DISTINCT samples.id)) as 'Number of open samples XY'
FROM samples
WHERE
samples.visible_to != 'deleted'
AND samples.done < samples.total
AND samples.status > 0
AND samples.employee_id = 123;
Last change: 16.01.2024
Allgemeines
Einführungsphase
Mitarbeiter
Aufträge
Proben
Probenvorlage
Berichte
Berichtstabellen Editor
Kunden
Kundenzone (optional)
Anlagen
Angebote
Rechnungen
Parameter
Rechnen mit Parametern
Schnittstellen
Webservice
Transformationscode
Prüfpläne / Grenzwerte / Spezifikationen
Dokumentenlenkung
Prüfmittel
Material
Mitarbeiterschulungen
8D-Report
Sonstiges
PDF-Vorlagen
Fragen und Antworten
Lieferantenbewertung
Dateiverwaltung
Auswertungen
Prozesse