• python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Facebook Twitter Instagram
Devs Fixed
  • python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Devs Fixed
Home ยป Resolved: I’m trying to show null values as zeros, how would I join these tables together?

Resolved: I’m trying to show null values as zeros, how would I join these tables together?

0
By Isaac Tonny on 04/04/2023 Issue
Share
Facebook Twitter LinkedIn

In this post, we will see how to resolve I’m trying to show null values as zeros, how would I join these tables together?

Question:

This is the query I have, as far as I can tell it should be correct except I am unsure how to combine the tables using the building as a common field.
Assigning the building in the inner table as s.building doesn’t seem to work like I need it to

Best Answer:

If your query is throwing an error of s.building does not exist it is certainly because in your subquery the building column is aliased as ‘BUILD’ so you should join on l.building and s.”BUILD”.

If you have better answer, please add a comment about this, thank you!

Source: Stackoverflow.com

oracle sql
Share. Facebook Twitter LinkedIn

Related Posts

Resolved: How to stop a thread that has a blocking function from easygui in python

05/04/2023

Resolved: Removing null keys from a json array of objects

05/04/2023

Resolved: How can I generate at compile-time a separate OpenAPI Swagger.json file for each Controller in my ASP.NET project?

05/04/2023

Comments are closed.

© 2023 DEVSFIX.COM

Type above and press Enter to search. Press Esc to cancel.