Skip to content

Tag: mysql

Filtering by dates saved as strings in SQL [closed]

Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 2 years ago. Improve this question I’m developing a program in Java that saves medical information of e…

SQL Subtract from different tables

I’m subtracting values from diferent tables based on ID. Its like an inventory where I’ve the tables for Itens In and Itens Out. What I want to do is to substract the Itens In – Itens Out based on ID …

SQL SELECT from based on truth table

How can I select the columns to be returned by a lookup truth table? my data: | nam | X | Y | | Bob | 2 | 5 | | Jan | 1 | 6 | the lookup table | prop| SHOW | | nam | true | | X | false| | Y | …

rowCount for items over 45 days old

I have a table and use this to show me how many days the widgets have been in stock, this is the code I am using for this I have info boxes at the top of the screen giving me different widget info, what I wanted is one of these info boxes to give me a total of how many